<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="format-detection" content="telephone=no" />
    <title>男装专区</title>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loaders.min.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/loading.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="<%=path %>/statics/css/style.css"/>
      <script src="<%=path %>/statics/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    	$(".loading").addClass("loader-chanage");
		$(".loading").fadeOut(300);
    });
    	
    </script>
</head>
<!--loading页开始-->
<div class="loading">
	<div class="loader">
        <div class="loader-inner pacman">
          <div></div>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
	</div>
</div>
<!--loading页结束-->
<body>
	<header class="top-header fixed-header">
		<a class="icona" href="javascript:history.go(-1)">
				<img src="<%=path %>/statics/images/left.png"/>
			</a>
		<h3>待评价</h3>
			
			<a class="iconb" href="shopcar.html">
			</a>
	</header>
	<div class="contaniner fixed-cont">
	<c:forEach items="${list}" var="oder">
	
		<section class="go-order">
			<h3>
				<img src="<%=path %>/statics/images/b-iocn02.png"/>
				<span>待评价</span>
			</h3>
			<dl class="map">
				<dt><img src="<%=path %>/statics/images/a-icon02.png"/></dt>
				<dd>
					<span>${oder.order.loginName }</span>
					<small>${oder.order.phone }</small>
					<p>${oder.order.userAddress} </p>
				</dd>
			</dl>
			<div class="order-shop">
				<dl>
					<a href="detail.html">
						<dt><img src="<%=path %>/statics/images/index-ph01.png"/></dt>
						<dd>
							<p>${oder.products.description}</p>
							<small>颜色：${oder.color }</small>
							<span>尺寸：${oder.size }</span>
							<input type="button" value="退货/退款" />
							<input type="hidden" value="${oder.productId}" class="opid">
							<b>￥${oder.products.price }</b>
							<strong>×${oder.quantity }</strong>
						</dd>
					</a>
					
				</dl>
				<ul>
					<li>
						<span>运费</span>
						<small>包邮</small>
					</li>
					<li>
						<span>商品总额</span>
						<small>￥${oder.cost }</small>
					</li>
					<li>
						<p>
							下单时间：${oder.order.createTime }<br />订单编号：${oder.order.serialNumber }
						</p>
					</li>
				</ul>
			</div>
		
	
	  <footer style="margin-bottom: 50px" class="order-footer ">  
		<a href="<%=path%>/comments/assess.html?pid=${oder.productId}&orderid=${oder.id}" ><input type="submit" value="去评价" /></a>
	</footer> 
	</section>
		</c:forEach>
	</div>
</body>
</html>